/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cz.uhk.ppro.response.model;

import javax.persistence.MappedSuperclass;

/**
 *
 * @author Martin Zmítko <martin.zmitko@gmail.com>
 *
 */

@MappedSuperclass
public class NamedEntity extends BaseEntity {

    private String name;

    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return this.name;
    }

    @Override
    public String toString()
    {
        return this.getName();
    }

}
